import { IListState } from "./list/types"
import { IUserState } from "./user/types"
import { IChatState } from "./chat/types"
import { ISpiderState } from "./spider/types"
interface IState {
  name: string
  isCollapse: boolean
  isDialogConfim: boolean
}
type lsGetters = {
  name: string
}
interface IRootWithModule {
  moduleList: IListState
  moduleUser: IUserState
  moduleChat: IChatState & lsGetters
  moduleSpider: ISpiderState
}

type IStoreType = IState & IRootWithModule

export { IState, IStoreType, IRootWithModule }
